import Vue from "vue";
import VueRouter from "vue-router";


Vue.use(VueRouter);

const routes = [
  // {
  //   path: "/modal",
  //   component:()=>import('../pages/modal')
  // },
  // {
  //   path:"/auth",
  //   component:()=>import('../pages/auth')
  // },
  // {
  //   path:"/goods",
  //   component:()=>import('../pages/goods')
  // },
  // {
  //   path:"/tab",
  //   component:()=>import('../pages/tab')
  // },
  {
    path: "/modal",
    component:()=>import('../newpages/newmodal')
  },
  {
    path:"/auth",
    component:()=>import('../newpages/newauth')
  },
  {
    path:"/goods",
    component:()=>import('../newpages/newgoods')
  },
  {
    path:"/tab",
    component:()=>import('../newpages/newtab')
  },
];

const router = new VueRouter({
  routes,
});

export default router;
